﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThreeTeams.Domain;
using ThreeTeams.Domain.ThreeTeams.Domain;

namespace ThreeTeams.Infrastructure
{
    public class MyContext : DbContext
    {
        public MyContext(DbContextOptions options) : base(options)
        {
        }
        /// <summary>
        /// 箱子型号实体
        /// </summary>
        public DbSet<BoxType> BoxType { get; set; }
        /// <summary>
        /// 入库附件表实体
        /// </summary>
        public DbSet<InboundAttachment> InboundAttachment { get; set; }
        /// <summary>
        /// 入库明细表实体
        /// </summary>
        public DbSet<InboundItem> InboundItem { get; set; }
        /// <summary>
        /// 入库单主表实体
        /// </summary>
        public DbSet<InboundOrder> InboundOrder { get; set; }
        /// <summary>
        /// 入库类型实体
        /// </summary>
        public DbSet<InboundType> InboundType { get; set; }
        /// <summary>
        /// 产品实体
        /// </summary>
        public DbSet<Product> Product { get; set; }
        /// <summary>
        /// 增值服务表实体
        /// </summary>
        public DbSet<ValueAddedService> ValueAddedService { get; set; }
        /// <summary>
        /// 仓库实体
        /// </summary>
        public DbSet<Warehouse> Warehouse { get; set; }
        /// <summary>
        ///  库存出入库实体类
        /// </summary>
        public DbSet<InventoryModel> InventoryModels { get; set; }
        /// <summary>
        /// 在库SKU实体
        /// </summary>
        public DbSet<SKUModel> SKUModels { get; set; }
        /// <summary>
        /// 基本管理(货架管理)
        /// </summary>
        public DbSet<Shelves> Shelves { get; set; }
    }
}
